FROM uhub.service.ucloud.cn/basic/nginx:1.16.1
MAINTAINER harold.zhou <harold.zhou@e-tianrong.com>

# set workdir
WORKDIR /tmp

# install nginx
COPY docker-entrypoint.sh /
COPY ruoyi_1718281828_com.conf /etc/nginx/conf.d/
COPY dist /usr/share/nginx/html/

EXPOSE 80 443
ENTRYPOINT ["sh", "/docker-entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]
